package com.medicinemanager.bean;

import java.sql.Date;
import java.util.Calendar;

public class Medicineinfo implements Entity{
	private String id;
	private String name;
	private String factory;
	private Calendar date_fa;
	private Calendar date_save;
	private String useage;
	private float price;
	private int number;
	private String person;
	private String personid;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFactory() {
		return factory;
	}

	public void setFactory(String factory) {
		this.factory = factory;
	}

	public Calendar getDate_fa() {
		return date_fa;
	}

	public void setDate_fa(Calendar calendar) {
		this.date_fa = calendar;
	}

	public Calendar getDate_save() {
		return date_save;
	}

	public void setDate_save(Calendar date_save) {
		this.date_save = date_save;
	}

	public String getUseage() {
		return useage;
	}

	public void setUseage(String useage) {
		this.useage = useage;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}

	public String getPersonid() {
		return personid;
	}

	public void setPersonid(String personid) {
		this.personid = personid;
	}
	
	public String toString(){
		return name;
	}
}
